
//----------------------------------------------------------------
// Copyright (C) 2009 上海EZCRS
// 版权所有。 
// All rights reserved.

// 文件名：MsgAdapterConfigDetailBean.cs
// 文件功能描述：配置详细关联
// 
// 
// 创建标识： kevin  2009-6-5 14:29:01
//
// 修改标识：
// 修改描述：
//----------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Strive.Util.Text;
using Strive.Util.Logging;
using Strive.Core.Validations;
using Strive.Core.Service;
using Strive.Core.Translators;
using Strive.Util.Maths;
using Strive.Reflection;
using Strive.Aspects;
using Strive.DataAccess;
using OTA.Notification.Entity;
using OTA.Notification.Entity.Adapter;

namespace OTA.Notification.Entity.Adapter
{
    /// <summary>
    ///适配器配置明细表[MSG_ADAPTER_CONFIG_DETAIL]实体类
    ///对应表名:MSG_ADAPTER_CONFIG_DETAIL
    /// </summary>
    [Serializable]
	[Table(Name = "MSG_ADAPTER_CONFIG_DETAIL")]
    public class MsgAdapterConfigDetailBean
    {
        
        #region Private 成员
        private string _msg_send_type_code=String.Empty; 
        private string _protocol_code=String.Empty; 
        private string _param_code=String.Empty; 
        private string _param_value=String.Empty; 
        private int _id=0;   

        #endregion
  
        
        #region Public 成员
   
        /// <summary>
        /// 属性名称：MsgSendTypeCode
        /// 属性描述：
        /// 字段信息：[MSG_SEND_TYPE_CODE],nvarchar
        /// </summary>
        [Column(Name="MSG_SEND_TYPE_CODE")]
		public string MsgSendTypeCode
        {
            get { return _msg_send_type_code; }
            set
            {
            
                if(value==null)return;
                if (_msg_send_type_code as object == null || !_msg_send_type_code.Equals(value))
                {
                    _msg_send_type_code = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ProtocolCode
        /// 属性描述：
        /// 字段信息：[PROTOCOL_CODE],nvarchar
        /// </summary>
        [Column(Name="PROTOCOL_CODE")]
		public string ProtocolCode
        {
            get { return _protocol_code; }
            set
            {
            
                if(value==null)return;
                if (_protocol_code as object == null || !_protocol_code.Equals(value))
                {
                    _protocol_code = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ParamCode
        /// 属性描述：
        /// 字段信息：[PARAM_CODE],nvarchar
        /// </summary>
        [Column(Name="PARAM_CODE")]
		public string ParamCode
        {
            get { return _param_code; }
            set
            {
            
                if(value==null)return;
                if (_param_code as object == null || !_param_code.Equals(value))
                {
                    _param_code = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：ParamValue
        /// 属性描述：
        /// 字段信息：[PARAM_VALUE],nvarchar
        /// </summary>
        [Column(Name="PARAM_VALUE")]
		public string ParamValue
        {
            get { return _param_value; }
            set
            {
            
                if(value==null)return;
                if (_param_value as object == null || !_param_value.Equals(value))
                {
                    _param_value = value;
                }
             }
        }
  
        /// <summary>
        /// 属性名称：Id
        /// 属性描述：
        /// 字段信息：[ID],int
        /// </summary>
        [Column(Name="ID"),ID,PK]
		public int Id
        {
            get { return _id; }
            set
            {
            
                {
                    _id = value;
                }
             }
        }
  
        #endregion 
  
    }
}
